<template>
	<view class="center">
		<!-- <view class="tit"></view>
		<view class="title">
			<image src="@/static/images/arrow_left.png" mode="widthFix" @click="back"></image>
			<text></text>
			<view class="ima">
				<image src="@/static/images/路径 731.png" mode="widthFix" @click="Sizer"></image>
				<image src="@/static/images/tb_icon.png" mode="widthFix"></image>
			</view>
		</view> -->
		<hea-ders title="收款历史">
			<image slot='left' src="@/static/images/arrow_left.png" mode="widthFix" @click="back"></image>
				<image slot='Lright' src="@/static/images/s36.png" @click="Sizer" mode="widthFix"></image>
				<image slot='Rright' src="@/static/images/tb_icon.png" mode="widthFix"></image>
		</hea-ders>
		<view class="search">
			<!-- <text>分布</text> -->
			<!-- <image src="@/static/images/search.png" mode="widthFix"></image> -->
			<input type="text" value="" placeholder-style="font-size:24rpx;" placeholder="编号/名称" />
		</view>
		<view class="conts">
			<text class="dates">2020-06-11</text>
			<view class="info">
				<text>WMK-20200611-003</text>
				<!--已记账  -->
				<text class="charge">已记账</text>
			</view>
			<view class="info">
				<text>收款单 零售客户</text>
				<text>18511111111</text>
			</view>
			<text class="price">￥90</text>
			<view class="info">
				<text>收到【零售客户】90元：【18511111111】</text>
				<image src="../../../../static/shopImage/arrow_right.png" mode="widthFix"></image>
			</view>
			<text class="number">已打印3次</text>
			<!-- 草稿 -->
			<view class="info">
				<text>WMK-20200611-003</text>
				<text class="charg">草稿</text>
			</view>
			<view class="info">
				<text>收款单 零售客户</text>
				<text>18511111111</text>
			</view>
			<text class="price">￥90</text>
			<view class="info">
				<text>收到【零售客户】90元：【18511111111】</text>
				<image src="../../../../static/shopImage/arrow_right.png" mode="widthFix"></image>
			</view>
			<text class="number">已打印0次</text>
			
		</view>
	</view>
</template>

<script>
	import heaDers from '@/pages/header/header.vue'
	export default {
		components:{
			heaDers
		},
		data() {
			return {
				
			}
		},
		methods: {
			back(){
				uni.navigateBack({
					delta:1
				})
			},
			Sizer(){
				uni.navigateTo({
					url:'../Sizers/Sizers'
				})
			},
		}
	}
</script>

<style lang="scss" scoped>

	.center {
		width: 100%;
		height: 100vh;
		box-sizing: border-box;
		background: #F5F5F5;
		.title {
			width: 100%;
			height: 88rpx;
			padding: 0 30rpx;
			box-sizing: border-box;
			background-color: rgba(36, 153, 246, 1);
			display: flex;
			justify-content: space-between;
			align-items: center;
	
			image {
				width: 22rpx;
			}
	
			text {
				font-size: 36rpx;
				color: #fff;
				font-weight: 400;
				font-family: PingFang SC;
			}
	
			.ima {
				image {
					width: 40rpx;
					margin-left: 8rpx;
				}
			}
		}
		.search {
			position: relative;
			display: flex;
			align-items: center;
			padding: 30rpx;
			width: 100%;
			box-sizing: border-box;
			background: #fff;
			text {
				flex: 1;
				color: rgba(36, 153, 246, 1);
				font-size: 24rpx;
				font-weight: 500;
				font-family: PingFang SC;
				letter-spacing: 5rpx;
			}
		
			input {
				flex: 8;
				background-color: rgba(245, 245, 245, 1) !important;
				height: 64rpx;
				border-radius: 32rpx;
				padding-left: 80rpx;
				background: url(@/static/images/search.png) no-repeat;
				background-size: 5%;
				background-position: 5% 50%;
			}
		
			image {
				width: 32rpx;
				position: absolute;
				top: 38%;
				left: 17%;
			}
		}
		.conts{
			background: #fff;
			width: 100%;
			box-sizing: border-box;
			clear: both;
			overflow: hidden;
			.dates{
				display: inline-block;
				width: 100%;
				height: 88rpx;
				box-sizing: border-box;
				font-size:30rpx;
				font-family:PingFang SC;
				font-weight:400;
				line-height:88rpx;
				color:rgba(189,189,189,1);
				opacity:1;
				padding-left: 15rpx;
				background: #F5F5F5;
			}
			.info{
				padding: 15rpx;
				background-color: #fff;
				width: 100%;
				box-sizing: border-box;
				display: flex;
				justify-content: space-between;
				text{
					font-size:30rpx;
					font-family:PingFang SC;
					font-weight:400;
					line-height:33rpx;
					color:rgba(66,66,66,1);
					opacity:1;
				}
				image{
					width: 20rpx;
				}
				.charge{
					display: inline-block;
					width: 80rpx;
					height: 24rpx;
					background: rgba(37, 147, 233, 0.5);
					border: 1rpx solid #2593E9;
					/*#ifdef */
					font-size:20rpx;
					/*#endif */
					font-family:PingFang SC;
					font-weight:400;
					line-height:26rpx;
					color:#2593E9;
					padding: 5rpx 10rpx;
					text-align: center;
				}
				.charg{
					display: inline-block;
					width: 80rpx;
					height: 24rpx;
					text-align: center;
					background: rgba(255, 169, 67, 0.5);
					border: 1rpx solid rgba(255, 169, 67, 1);
					/*#ifdef */
					font-size:20rpx;
					/*#endif */
					font-family:PingFang SC;
					font-weight:400;
					line-height:26rpx;
					color:rgba(255, 169, 67, 1);
					padding: 5rpx 10rpx;
					text-align: center;
					letter-spacing: 8rpx;
				}
			}
			.price{
				display: inline-block;
				width: 100%;
				padding: 15rpx;
				background: #fff;
				font-size:30rpx;
				font-family:PingFang SC;
				font-weight:400;
				line-height:33rpx;
				color:#FF2929;
				opacity:1;
			}
			.number{
				display: inline-block;
				width: 120rpx;
				height: 24rpx;
				text-align: center;
				/*#ifdef */
				font-size:20rpx;
				/*#endif */
				font-family:PingFang SC;
				font-weight:400;
				line-height:22rpx;
				color:rgba(255,255,255,1);
				opacity:1;
				background: #2593E9;
				padding: 5rpx 20rpx;
				float: right;
				margin-bottom: 10rpx;
			}
		}
}

</style>
